package com.scs.application.modules.dept.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.SimpleDataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * <p>
 *
 * </p>
 *
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材使用统计表")
@TableName("dept_use_stats")
@Deprecated
public class UseStats extends SimpleDataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "科室id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String deptId;

    @EntityFieldAnnotation(
            text = "科室名称",
            length = "200",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String deptName;

    @EntityFieldAnnotation(
            text = "年度",
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private Integer periodYear;

    @EntityFieldAnnotation(
            text = "预算额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double budgetAmount;

    @EntityFieldAnnotation(
            text = "年累计",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountYear;

    @EntityFieldAnnotation(
            text = "月累计",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountMonth;

    @EntityFieldAnnotation(
            text = "周累计",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountWeek;

    @EntityFieldAnnotation(
            text = "开始统计日期",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Date budgetStartDate;

}
